package conversions;

public class Main2 {

	public static void main(String[] args) {
		Main2 m2 = new Main2();
		float f = 2;
		m2.a(f);
		m2.a(new Integer(7));
		System.out.println("--------------------------------");
		
		short s = 2;
		m2.b(s);
		m2.b(new Integer(7));
		System.out.println("--------------------------------");
	}

	void a(Short s) {

		System.out.println(" S ");
	}

	void a(int i) {

		System.out.println(" i ");
	}

	void a(Long e) {

		System.out.println(" L ");
	}
	void a(Number e) {

		System.out.println(" N ");
	}
	
	void b(Short s) {

		System.out.println(" S ");
	}

	void b(double i) {

		System.out.println(" i ");
	}

	void b(Long e) {

		System.out.println(" L ");
	}
	void b(Number e) {

		System.out.println(" N ");
	}
}
